generateProtectedFileToken

Generates a temporary token for accessing protected files The client must be authenticated to use this function